package com.shuinfo.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@TableName("user")
public class User {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer groupId;

    private String username;

    private String nickname;

    private String password;

    private String salt;

    private String email;

    private String mobile;

    private String avatar;

    private Integer level;

    private Integer gender;

    private Date birthday;

    private String bio;

    private BigDecimal money;

    private Integer score;

    private Integer successions;

    private Integer maxsuccessions;

    private Long prevtime;

    private Long logintime;

    private String loginip;

    private Integer loginfailure;

    private String joinip;

    private Long jointime;

    private Long createtime;

    private Long updatetime;

    private String token;

    private String status;

    private String verification;
}
